package demo;

import classdemo.Dog;

// 一个程序使用了三个类
public class PersonTest {

	public static void main(String[] args) {
		Person person = new Person();
		person.name = "张三";
		person.play();
		
		Dog dog = new Dog();
		dog.name = "旺财";
		dog.sleep();
	}
}
